package com.huilink.webmail.util.client;

import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.TextBoxBase;
import com.google.gwt.user.client.ui.Widget;
import com.huilink.webmail.util.client.widgets.InputPanel;

/**
 */
public interface WidgetManager
{
    public void addTextBoxToGrid(Grid grid, int row, int column, TextBoxBase textBox);
    
    public void removeFromParent(Widget widget);
    
    public void addTextBoxToPanel(Panel panel, TextBoxBase textBox);
    
    public void addLabel(Panel panel, Label label);
    
    public void addInputPanel(Panel panel, InputPanel input);
    
    public void addWidgetToPanel(Panel panel, Widget widget);
    
}
